#ifndef ARCGRAPH_H
#define ARCGRAPH_H

#include <QWidget>
#include<QPainter>
#include<QPaintEvent>
namespace Ui {
class ArcGraph;
}

class ArcGraph : public QWidget
{
    Q_OBJECT

public:
    explicit ArcGraph(QWidget *parent = nullptr);
    ~ArcGraph();
    void setstartAngle(int);
    void setangleLength(int);
private:
    void paintEvent(QPaintEvent *event);
    int startAngle;
    int angleLength;
};

#endif // ARCGRAPH_H
